.my-appointments-page {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  position: relative;
  color: #333;
  
  // 顶部导航栏样式
  .nav-bar {
    background-color: #fff;
    font-weight: bold;
    position: sticky;
    top: 0;
    z-index: 100;
    --adm-font-size-10: 18px;
    
    :global {
      .adm-nav-bar-back-arrow {
        font-size: 16px;
      }
    }
  }
  
  // 预约状态标签页
  .appointment-tabs {
    background-color: #fff;
    --adm-color-primary: #1677ff;
    
    :global {
      .adm-tabs-tab {
        font-size: 15px;
        padding: 10px 0;
      }
      
      .adm-tabs-tab-active {
        font-weight: 600;
      }
      
      .adm-tabs-tab-line {
        height: 2px;
        border-radius: 2px;
      }
    }
  }
  
  // 预约列表
  .appointments-list {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    padding-bottom: 60px; // 为底部标签栏留出空间
    
    // 预约项
    .appointment-item {
      background-color: #fff;
      border-radius: 8px;
      padding: 12px;
      margin-bottom: 10px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
      
      // 医院行
      .hospital-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 10px;
        border-bottom: 1px solid #f0f0f0;
        
        .hospital-name {
          font-size: 16px;
          font-weight: 500;
        }
        
        .status-tag {
          font-size: 12px;
          padding: 2px 6px;
          border-radius: 4px;
        }
      }
      
      // 医生信息
      .doctor-info {
        display: flex;
        align-items: center;
        padding: 12px 0;
        
        .avatar {
          width: 40px;
          height: 40px;
          border-radius: 4px;
          overflow: hidden;
          margin-right: 10px;
          
          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        
        .info-content {
          flex: 1;
          
          .doctor-name {
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 2px;
          }
          
          .doctor-title {
            font-size: 13px;
            color: #999;
            margin-bottom: 2px;
          }
          
          .appointment-time {
            font-size: 13px;
            color: #1677ff;
          }
        }
        
        .price {
          font-size: 16px;
          color: #ff4d4f;
          font-weight: 500;
        }
      }
      
      // 患者行和操作按钮
      .patient-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 10px;
        border-top: 1px solid #f0f0f0;
        
        .patient-info {
          font-size: 13px;
          color: #666;
        }
        
        .action-buttons {
          display: flex;
          
          .cancel-btn, .navigate-btn, .review-btn, .rebook-btn {
            margin-left: 8px;
            height: 32px;
            border-radius: 16px;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
          }
          
          .cancel-btn {
            color: #666;
            background-color: #f5f5f5;
            border: 1px solid #ddd;
          }
          
          .navigate-btn {
            color: #fff;
            background-color: #1677ff;
            border: none;
            
            .antd-mobile-icon {
              margin-right: 4px;
            }
          }
          
          .review-btn {
            color: #fff;
            background-color: #52c41a;
            border: none;
          }
          
          .rebook-btn {
            color: #fff;
            background-color: #1677ff;
            border: none;
          }
        }
      }
    }
    
    // 空状态
    .empty-state {
      height: 200px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      margin-top: 40px;
      
      .empty-icon {
        font-size: 40px;
        margin-bottom: 16px;
      }
      
      .empty-text {
        color: #999;
        font-size: 14px;
      }
    }
  }
  
  // 底部标签栏样式
  :global {
    .adm-tab-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      border-top: 1px solid #f0f0f0;
      background-color: #fff;
      --adm-color-primary: #1677ff;
    }
    
    .appointment-icon {
      width: 22px;
      height: 22px;
      background-color: #1677ff;
      border-radius: 50%;
      position: relative;
      
      &::before {
        content: '';
        position: absolute;
        width: 10px;
        height: 10px;
        border: 2px solid #fff;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
    }
  }
} 